package model;

import java.io.File;

import ui.MainFrame;

//工作空间对象

public class WorkSpace {
	private File folder;//工作空间对应的目录
	private MainFrame editorFrame;//工作空间对应的主编辑区
	
	public WorkSpace(File folder, MainFrame editorFrame){
		this.setFolder(folder);
		this.setEditorFrame(editorFrame);
	}

	public File getFolder() {
		return folder;
	}

	public void setFolder(File folder) {
		this.folder = folder;
	}

	public MainFrame getEditorFrame() {
		return editorFrame;
	}

	public void setEditorFrame(MainFrame editorFrame) {
		this.editorFrame = editorFrame;
	}
	
	
}
